import * as types from "./mutation-types"

const mutations = {
  [types.SET_USERINFO](state, userInfo) {
    state.userInfo = userInfo
  },
  //菜单标题
  setMenuTitle(state, menuTitle) {
    state.menuTitle = menuTitle
  },

  //已完成标记详情数据
  setTreeDetailData(state, data) {
    state.treeDetailData = data
  },
  setTreeDetailCheck(state, treeDetailCheck) {
    state.treeDetailCheck = treeDetailCheck
  },

}



export default mutations
